// Decompiled on 周六 2月 22 19:31:49 CST 2025 with Zomboid Decompiler v0.1.3 using Vineflower.
package zombie.audio.parameters;

import zombie.audio.FMODGlobalParameter;
import zombie.core.Core;

public final class ParameterMusicActionStyle extends FMODGlobalParameter {
    public ParameterMusicActionStyle() {
        super("MusicActionStyle");
    }

    @Override
    public float calculateCurrentValue() {
        return Core.getInstance().getOptionMusicActionStyle() == 2
            ? (float)ParameterMusicActionStyle.State.Legacy.label
            : (float)ParameterMusicActionStyle.State.Official.label;
    }

    public static enum State {
        Official(0),
        Legacy(1);

        final int label;

        private State(int int1) {
            this.label = int1;
        }
    }
}
